#include "createaccountdialog.h"
#include "ui_createaccountdialog.h"

CreateAccountDialog::CreateAccountDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::CreateAccountDialog)
{
    ui->setupUi(this);
    setWindowTitle("创建账号");
}

CreateAccountDialog::~CreateAccountDialog()
{
    delete ui;
}

QString CreateAccountDialog::getUserName()
{
    return ui->lineEdit->text();
}
